<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>LibDriver TEA5767: example/driver_tea5767_basic.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="doxygen.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">LibDriver TEA5767
   &#160;<span id="projectnumber">1.0.0</span>
   </div>
   <div id="projectbrief">TEA5767 full function driver</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('driver__tea5767__basic_8h_source.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">driver_tea5767_basic.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="driver__tea5767__basic_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160; </div>
<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;<span class="preprocessor">#ifndef DRIVER_TEA5767_BASIC_H</span></div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;<span class="preprocessor">#define DRIVER_TEA5767_BASIC_H</span></div>
<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160; </div>
<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="driver__tea5767__interface_8h.html">driver_tea5767_interface.h</a>&quot;</span></div>
<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160; </div>
<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;<span class="preprocessor">#ifdef __cplusplus</span></div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;<span class="keyword">extern</span> <span class="stringliteral">&quot;C&quot;</span>{</div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160; </div>
<div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="group__tea5767__example__driver.html#gad42724745a02dd1b7a23f808f4dc9810">   56</a></span>&#160;<span class="preprocessor">#define TEA57671_BASIC_DEFAULT_MUTE                             TEA5767_BOOL_FALSE                   </span></div>
<div class="line"><a name="l00057"></a><span class="lineno"><a class="line" href="group__tea5767__example__driver.html#ga6fdb1a58216598b9d4d6ed0498136e27">   57</a></span>&#160;<span class="preprocessor">#define TEA57671_BASIC_DEFAULT_MODE                             TEA5767_MODE_NORMAL                  </span></div>
<div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="group__tea5767__example__driver.html#ga2c3f45f54369caec74344738f8312194">   58</a></span>&#160;<span class="preprocessor">#define TEA57671_BASIC_DEFAULT_MHZ                              88.0f                                </span></div>
<div class="line"><a name="l00059"></a><span class="lineno"><a class="line" href="group__tea5767__example__driver.html#ga4bff0bbc9bfe5e74c45ed4a862d04d41">   59</a></span>&#160;<span class="preprocessor">#define TEA57671_BASIC_DEFAULT_SEARCH_MODE                      TEA5767_SEARCH_MODE_UP               </span></div>
<div class="line"><a name="l00060"></a><span class="lineno"><a class="line" href="group__tea5767__example__driver.html#gae11976951660cabc3492fe70281044a4">   60</a></span>&#160;<span class="preprocessor">#define TEA57671_BASIC_DEFAULT_SEARCH_STOP_LEVEL                TEA5767_SEARCH_STOP_LEVEL_MID        </span></div>
<div class="line"><a name="l00061"></a><span class="lineno"><a class="line" href="group__tea5767__example__driver.html#ga1f82c25a571671babc1353c65ce1e284">   61</a></span>&#160;<span class="preprocessor">#define TEA57671_BASIC_DEFAULT_SIDE_INJECTION                   TEA5767_SIDE_INJECTION_HIGH          </span></div>
<div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="group__tea5767__example__driver.html#ga273a14bd0649daba21017cf40130fe92">   62</a></span>&#160;<span class="preprocessor">#define TEA57671_BASIC_DEFAULT_CHANNEL                          TEA5767_CHANNEL_STEREO               </span></div>
<div class="line"><a name="l00063"></a><span class="lineno"><a class="line" href="group__tea5767__example__driver.html#gae1a7844a847fdb200aef9df24911872c">   63</a></span>&#160;<span class="preprocessor">#define TEA57671_BASIC_DEFAULT_RIGHT_MUTE                       TEA5767_BOOL_FALSE                   </span></div>
<div class="line"><a name="l00064"></a><span class="lineno"><a class="line" href="group__tea5767__example__driver.html#ga2067fdc493bb9522c785542cc93dd435">   64</a></span>&#160;<span class="preprocessor">#define TEA57671_BASIC_DEFAULT_LEFT_MUTE                        TEA5767_BOOL_FALSE                   </span></div>
<div class="line"><a name="l00065"></a><span class="lineno"><a class="line" href="group__tea5767__example__driver.html#gacd00e0ecfc86105f159219f9f2808040">   65</a></span>&#160;<span class="preprocessor">#define TEA57671_BASIC_DEFAULT_PORT1                            TEA5767_LEVEL_LOW                    </span></div>
<div class="line"><a name="l00066"></a><span class="lineno"><a class="line" href="group__tea5767__example__driver.html#ga58980f02ef3fba86bf1aff2c120ec679">   66</a></span>&#160;<span class="preprocessor">#define TEA57671_BASIC_DEFAULT_PORT2                            TEA5767_LEVEL_LOW                    </span></div>
<div class="line"><a name="l00067"></a><span class="lineno"><a class="line" href="group__tea5767__example__driver.html#ga4f0663bb856808262a386747116ef0e8">   67</a></span>&#160;<span class="preprocessor">#define TEA57671_BASIC_DEFAULT_BAND                             TEA5767_BAND_JAPANESE                </span></div>
<div class="line"><a name="l00068"></a><span class="lineno"><a class="line" href="group__tea5767__example__driver.html#gabaa7b8f83310dadcfbf852815f009390">   68</a></span>&#160;<span class="preprocessor">#define TEA57671_BASIC_DEFAULT_SOFT_MUTE                        TEA5767_BOOL_FALSE                   </span></div>
<div class="line"><a name="l00069"></a><span class="lineno"><a class="line" href="group__tea5767__example__driver.html#ga678abb3662fe34bd770598b530b87aaa">   69</a></span>&#160;<span class="preprocessor">#define TEA57671_BASIC_DEFAULT_HIGH_CUT_CONTROL                 TEA5767_BOOL_TRUE                    </span></div>
<div class="line"><a name="l00070"></a><span class="lineno"><a class="line" href="group__tea5767__example__driver.html#ga9022bdf59bf7c471cf650f24d5797f7a">   70</a></span>&#160;<span class="preprocessor">#define TEA57671_BASIC_DEFAULT_STEREO_NOISE_CANCELING           TEA5767_BOOL_TRUE                    </span></div>
<div class="line"><a name="l00071"></a><span class="lineno"><a class="line" href="group__tea5767__example__driver.html#ga46ac1d74081dc2ff24c15baa8fdea714">   71</a></span>&#160;<span class="preprocessor">#define TEA57671_BASIC_DEFAULT_PORT1_AS_SEARCH_INDICATOR        TEA5767_BOOL_TRUE                    </span></div>
<div class="line"><a name="l00072"></a><span class="lineno"><a class="line" href="group__tea5767__example__driver.html#ga4bdd1300011e93434b20f36eebf19ada">   72</a></span>&#160;<span class="preprocessor">#define TEA57671_BASIC_DEFAULT_DE_EMPHASIS                      TEA5767_DE_EMPHASIS_50US             </span></div>
<div class="line"><a name="l00073"></a><span class="lineno"><a class="line" href="group__tea5767__example__driver.html#ga51aa5c51f9c4f3bb77e8786464d6adb9">   73</a></span>&#160;<span class="preprocessor">#define TEA57671_BASIC_DEFAULT_CLOCK                            TEA5767_CLOCK_32P768_KHZ             </span></div>
<div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;uint8_t <a class="code" href="group__tea5767__example__driver.html#ga3f61b1c082d368f566a4242ecaae0a08">tea5767_basic_init</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160; </div>
<div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;uint8_t <a class="code" href="group__tea5767__example__driver.html#gac553690e1d2fddd97f2cc88f5dbca008">tea5767_basic_deinit</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160; </div>
<div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;uint8_t <a class="code" href="group__tea5767__example__driver.html#ga4c2f0c1a1cb71077392b39f207b79a3d">tea5767_basic_search_up</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160; </div>
<div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;uint8_t <a class="code" href="group__tea5767__example__driver.html#ga17068469a9605033b6205dd863b83129">tea5767_basic_search_down</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160; </div>
<div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;uint8_t <a class="code" href="group__tea5767__example__driver.html#gaa34897a0f5fd564e7244c770f73323d6">tea5767_basic_set_frequency</a>(<span class="keywordtype">float</span> mhz);</div>
<div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160; </div>
<div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;uint8_t <a class="code" href="group__tea5767__example__driver.html#ga004180277c08715215433c3623bba16c">tea5767_basic_get_frequency</a>(<span class="keywordtype">float</span> *mhz);</div>
<div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160; </div>
<div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160;uint8_t <a class="code" href="group__tea5767__example__driver.html#gad385511bb3f252df571761db998e7c6d">tea5767_basic_set_mute</a>(<a class="code" href="group__tea5767__base__driver.html#ga7e350a97f037d1da69bfabbad2d0bd36">tea5767_bool_t</a> enable);</div>
<div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160; </div>
<div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;<span class="preprocessor">#ifdef __cplusplus</span></div>
<div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;}</div>
<div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160; </div>
<div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="ttc" id="adriver__tea5767__interface_8h_html"><div class="ttname"><a href="driver__tea5767__interface_8h.html">driver_tea5767_interface.h</a></div><div class="ttdoc">driver tea5767 interface header file</div></div>
<div class="ttc" id="agroup__tea5767__base__driver_html_ga7e350a97f037d1da69bfabbad2d0bd36"><div class="ttname"><a href="group__tea5767__base__driver.html#ga7e350a97f037d1da69bfabbad2d0bd36">tea5767_bool_t</a></div><div class="ttdeci">tea5767_bool_t</div><div class="ttdoc">tea5767 bool enumeration definition</div><div class="ttdef"><b>Definition:</b> <a href="driver__tea5767_8h_source.html#l00062">driver_tea5767.h:63</a></div></div>
<div class="ttc" id="agroup__tea5767__example__driver_html_ga004180277c08715215433c3623bba16c"><div class="ttname"><a href="group__tea5767__example__driver.html#ga004180277c08715215433c3623bba16c">tea5767_basic_get_frequency</a></div><div class="ttdeci">uint8_t tea5767_basic_get_frequency(float *mhz)</div><div class="ttdoc">basic example get frequency</div><div class="ttdef"><b>Definition:</b> <a href="driver__tea5767__basic_8c_source.html#l00537">driver_tea5767_basic.c:537</a></div></div>
<div class="ttc" id="agroup__tea5767__example__driver_html_ga17068469a9605033b6205dd863b83129"><div class="ttname"><a href="group__tea5767__example__driver.html#ga17068469a9605033b6205dd863b83129">tea5767_basic_search_down</a></div><div class="ttdeci">uint8_t tea5767_basic_search_down(void)</div><div class="ttdoc">basic example search down</div><div class="ttdef"><b>Definition:</b> <a href="driver__tea5767__basic_8c_source.html#l00406">driver_tea5767_basic.c:406</a></div></div>
<div class="ttc" id="agroup__tea5767__example__driver_html_ga3f61b1c082d368f566a4242ecaae0a08"><div class="ttname"><a href="group__tea5767__example__driver.html#ga3f61b1c082d368f566a4242ecaae0a08">tea5767_basic_init</a></div><div class="ttdeci">uint8_t tea5767_basic_init(void)</div><div class="ttdoc">basic example init</div><div class="ttdef"><b>Definition:</b> <a href="driver__tea5767__basic_8c_source.html#l00048">driver_tea5767_basic.c:48</a></div></div>
<div class="ttc" id="agroup__tea5767__example__driver_html_ga4c2f0c1a1cb71077392b39f207b79a3d"><div class="ttname"><a href="group__tea5767__example__driver.html#ga4c2f0c1a1cb71077392b39f207b79a3d">tea5767_basic_search_up</a></div><div class="ttdeci">uint8_t tea5767_basic_search_up(void)</div><div class="ttdoc">basic example search up</div><div class="ttdef"><b>Definition:</b> <a href="driver__tea5767__basic_8c_source.html#l00312">driver_tea5767_basic.c:312</a></div></div>
<div class="ttc" id="agroup__tea5767__example__driver_html_gaa34897a0f5fd564e7244c770f73323d6"><div class="ttname"><a href="group__tea5767__example__driver.html#gaa34897a0f5fd564e7244c770f73323d6">tea5767_basic_set_frequency</a></div><div class="ttdeci">uint8_t tea5767_basic_set_frequency(float mhz)</div><div class="ttdoc">basic example set frequency</div><div class="ttdef"><b>Definition:</b> <a href="driver__tea5767__basic_8c_source.html#l00500">driver_tea5767_basic.c:500</a></div></div>
<div class="ttc" id="agroup__tea5767__example__driver_html_gac553690e1d2fddd97f2cc88f5dbca008"><div class="ttname"><a href="group__tea5767__example__driver.html#gac553690e1d2fddd97f2cc88f5dbca008">tea5767_basic_deinit</a></div><div class="ttdeci">uint8_t tea5767_basic_deinit(void)</div><div class="ttdoc">basic example deinit</div><div class="ttdef"><b>Definition:</b> <a href="driver__tea5767__basic_8c_source.html#l00291">driver_tea5767_basic.c:291</a></div></div>
<div class="ttc" id="agroup__tea5767__example__driver_html_gad385511bb3f252df571761db998e7c6d"><div class="ttname"><a href="group__tea5767__example__driver.html#gad385511bb3f252df571761db998e7c6d">tea5767_basic_set_mute</a></div><div class="ttdeci">uint8_t tea5767_basic_set_mute(tea5767_bool_t enable)</div><div class="ttdoc">basic example enable or disable mute</div><div class="ttdef"><b>Definition:</b> <a href="driver__tea5767__basic_8c_source.html#l00574">driver_tea5767_basic.c:574</a></div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_cfafba98a580ce4b62f8a6fa96d7cbb0.html">example</a></li><li class="navelem"><a class="el" href="driver__tea5767__basic_8h.html">driver_tea5767_basic.h</a></li>
    <li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
  </ul>
</div>
</body>
</html>
